package org.mdrtwell.reflection;

import java.lang.reflect.Array;

public class ArrayTester1 {
	public static void main(String[] args) {
		Class<?> clazz;
		try {
			clazz = Class.forName("java.lang.String");
			Object array = Array.newInstance(clazz, 10);
			Array.set(array, 4, " ykll ");
			Object str = Array.get(array, 4);
			System.out.println(str);
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}
}
